package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import lombok.*;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SimUserPurse;

import java.math.BigDecimal;

/**
 * 用户钱包业务对象 sim_user_purse
 *
 * @author Lion Li
 * @date 2025-08-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SimUserPurse.class, reverseConvertGenerate = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SimUserPurseBo extends BaseEntity {

    /**
     *
     */
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     * 余额
     */
    private BigDecimal profit;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = {AddGroup.class, EditGroup.class})
    private String remark;

    private Integer type;

    private String userName;

    private String nickName;

    private String realName;


}
